//
// Created by Administrator on 2021/7/10.
//

#ifndef TEST_1_H
#define TEST_1_H

class test1 {
public:
    static const int NumTruns = 5; // 常量声明式
    int scores[NumTruns];          // 使用该常量
};

class test2 {
public:
    enum { NumTruns = 5 };
    int scores[NumTruns];
};

#endif //TEST_1_H
